package cn.yuanqiao.archive.cqbctuisong.mapper;
/**
 * @author 赵常飞
 * @date 2024/7/1 14:25
 */

import cn.yuanqiao.archive.cqbctuisong.domain.TenantCqbcPush;
import com.alibaba.fastjson2.JSONArray;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *@Author: 赵常飞
 *@Date: 2024/7/1 14:25
 *@Description:
 *@Note:
 */

public interface CqbcTuiSongMapper {
    Map<String, String> getfield(@Param("mdatalisttable") String mdatalisttable,@Param("categorytable") String categorytable,@Param("categoryId")Long categoryId,@Param("mdatatype")int mdatatype);

    List<Map<String, String>> getStatebyids(@Param("ids")JSONArray ids, @Param("tableName")String tableName);

    int insert(@Param("tenantCqbcPush")TenantCqbcPush tenantCqbcPush,@Param("tableName")String tableName);

    int update(@Param("tenantCqbcPush")TenantCqbcPush tenantCqbcPush, @Param("tableName")String tableName);

    int createDataManagerTable();

    int createDataManagerTreePathTable();

    int createCqbcPush(@Param("tableName")String tableName);

    int updatesql(@Param("sql")String sql);

    String getbgqx(@Param("tableName")String tableName,@Param("id") String id);
}
